#ifdef WIN32
#include <windows.h>
#endif

#include <cstdlib>
#include <iostream>
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>

#include "structure.h"
#include "headers.h"
#include "constantes.h"

 int main(int argc, char *argv[])
 {

 	Surface  S;
 	Position P;
 	Tools    T;

     /*initialisation */
     creatWindow (&S);
	loadFiles   (&S);
	initPositions (&P);
	initTools (&T);
	creatPlayEnv (&S , &P);

	/*jouer */
	play_Nim (&S , &T , &P);

     /*liberer la mem */
	clean_up(&S);
	return EXIT_SUCCESS;
 }
